Component org.nuxeo.elasticsearch.defaultConfig
In bundle org.nuxeo.runtime
Contributions
- org.nuxeo.elasticsearch.defaultConfig--elasticSearchIndex
- org.nuxeo.elasticsearch.defaultConfig--elasticSearchClient
- org.nuxeo.elasticsearch.defaultConfig--elasticSearchEmbeddedServer
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.elasticsearch.defaultConfig">
<require>org.nuxeo.elasticsearch.ElasticSearchComponent</require>
<extension target="org.nuxeo.elasticsearch.ElasticSearchComponent" point="elasticSearchEmbeddedServer">
<elasticSearchEmbeddedServer clusterName="nuxeoCluster" nodeName="nuxeoNode"
pathData="/Users/arnaud/Nuxeo/distrib/nuxeo-server-tomcat-9.10/nxserver/data/elasticsearch" pathLogs="/Users/arnaud/Nuxeo/distrib/nuxeo-server-tomcat-9.10/log/elasticsearch"
httpEnabled="true" networkHost="127.0.0.1" />
</extension>
<extension target="org.nuxeo.elasticsearch.ElasticSearchComponent" point="elasticSearchClient">
<elasticSearchClient class="org.nuxeo.elasticsearch.client.ESTransportClientFactory">
<option name="addressList"></option>
<option name="clusterName">nuxeoCluster</option>
<option name="clientTransportSniff">false</option>
<option name="clientTransportIgnoreClusterName">false</option>
<option name="clientTransportPingTimeout">5s</option>
<option name="clientTransportNodesSamplerInterval">5s</option>
</elasticSearchClient>
</extension>
<extension target="org.nuxeo.elasticsearch.ElasticSearchComponent"
point="elasticSearchIndex">
<elasticSearchIndex name="nuxeo" type="doc" repository="default">
<fetchFromSource>
<include>ecm:*</include>
<include>dc:*</include>
<exclude>ecm:binarytext</exclude>
</fetchFromSource>
<settings file="elasticsearch-doc-settings.json" />
<mapping file="elasticsearch-doc-mapping.json" />
</elasticSearchIndex>
</extension>
</component>